import { ElMessage, ElMessageBox } from 'element-plus'

if (!window.WebSocket) {
  window.WebSocket = window.MozWebSocket
}
if (window.WebSocket) {
  creatWebsocket()
}

let socket = null

export function creatWebsocket() {
  socket = new WebSocket('192.168.0.1')
}
